package com.zhibang.sinocare.common.domian;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 检测项初始数据表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("scc_medical_report")
public class MedicalReport {
    private int reportId;
    private String medicalCode;
    private String medicalName;
    private String medicalUnits;
    private String medicalMethod;
    private String medicalReference;
    private double referenceLow;
    private double referenceHigh;
    private int medicalType;
    private int medicalAssistType;
    private int medicalStatus;
    private String medicalSuggest;

    @DateTimeFormat(pattern = "yyyy-mm-dd")
    @JsonFormat(pattern = "yyyy-mm-dd hh:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-mm-dd")
    @JsonFormat(pattern = "yyyy-mm-dd hh:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    private String remark;
    private int status;

    private String reference;

}
